﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace com.IronOne.BoardAppWeb.Models.UserMgt
{
    [MetadataType(typeof(UserMgtModelsMetadata))]
    public partial class UserMgtModels
    {

    }

    public class UserMgtModelsMetadata
    {
        public int customUserId { get; set; }
        public string username { get; set; }
        public string firstName { get; set; }
        public string lastname { get; set; }
        public Boolean userStatus { get; set; }
        [Required]
        public string email { get; set; }
        public string officeno { get; set; }
        public string mobileno { get; set; }
        public string roleName { get; set; }

        public override string ToString()
        {
            return " " + this.customUserId + " " + this.username + " " + this.firstName + ""
                + this.lastname + " " + this.email + " " + this.officeno + " " + this.mobileno + "" + this.userStatus + " " + this.roleName;
        }
    }


    public class RoleManagementMetaData
    {
        public string RoleName { get; set; }

        public string Description { get; set; }


        public override string ToString()
        {
            return " " + this.RoleName + " " + this.Description + " ";
        }

    }

    public class EditUser
    {

        public int customUserId { get; set; }
        public string username { get; set; }
        public string firstName { get; set; }
        public string lastname { get; set; }
        public string jobTitle{ get; set; }
        public string  companyName{ get; set; }
        public string companyAddress{ get; set; }
        public string  skypeId{ get; set; }
        public string  facebook{ get; set; }
        public string linkedIn{ get; set; }
        public string description{ get; set; }
        [Required]
        public string email { get; set; }
        public string officeno { get; set; }
        public string mobileno { get; set; }
        public string roleName { get; set; }
        public string imagePath { get; set; }

        public override string ToString()
        {
            return " " + this.customUserId + " " + this.username + " " + this.firstName + ""
                + this.lastname + " " + this.jobTitle + " " + this.companyName + " " + this.companyAddress
                + "" + this.skypeId + " " + this.facebook + " " + this.linkedIn + " " + this.description + " " + this.email
                + " " + this.officeno + " " + this.mobileno + " " + this.roleName + " " + this.imagePath;
        }

    } 

}